From 8a8378e8dfccbe69969f96f912b7bae65ed4b832 Mon Sep 17 00:00:00 2001 From: Steven Hand Date: Wed, 30 Aug 2006 13:50:08 +0100 Subject: [PATCH] Fix hard tabs. Signed-off-by: Steven Hand --- tools/python/xen/xend/XendCheckpoint.py | 4 ++-- tools/python/xen/xend/XendDomain.py | 4 ++-- tools/python/xen/xend/XendDomainInfo.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/python/xen/xend/XendCheckpoint.py b/tools/python/xen/xend/XendCheckpoint.py index 9fd3169a9d..c0c5e48d48 100644 --- a/tools/python/xen/xend/XendCheckpoint.py +++ b/tools/python/xen/xend/XendCheckpoint.py @@ -161,8 +161,8 @@ def restore(xd, fd): if handler.store_mfn is None or handler.console_mfn is None: raise XendError('Could not read store/console MFN') - #Block until src closes connection - os.read(fd, 1) + #Block until src closes connection + os.read(fd, 1) dominfo.unpause() dominfo.completeRestore(handler.store_mfn, handler.console_mfn) diff --git a/tools/python/xen/xend/XendDomain.py b/tools/python/xen/xend/XendDomain.py index af4c474b94..10f9c3b6e0 100644 --- a/tools/python/xen/xend/XendDomain.py +++ b/tools/python/xen/xend/XendDomain.py @@ -431,8 +431,8 @@ class XendDomain: sock.send("receive\n") sock.recv(80) XendCheckpoint.save(sock.fileno(), dominfo, True, live, dst) - dominfo.testDeviceComplete() - sock.close() + dominfo.testDeviceComplete() + sock.close() def domain_save(self, domid, dst): """Start saving a domain to file. diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 48ff0ff291..def0804e54 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1494,7 +1494,7 @@ class XendDomainInfo: if rc != 0: raise XendError("Device of type '%s' refuses migration." % n) - def testDeviceComplete(self): + def testDeviceComplete(self): """ For Block IO migration safety we must ensure that the device has shutdown correctly, i.e. all blocks are flushed to disk -- 2.30.2